package com.itheima.stock.api;

import com.itheima.stock.response.ResponseResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author zxh
 * @created 2024/12/25 19:20
 * @description
 */
@RequestMapping("/api/task")
public interface StockTaskAPI {

    /**
     * 获取股票实时数据
     * @return
     */
    @GetMapping("/stock")
    ResponseResult<?> getStockInfo(String biz);

    /**
     *  获取板块实时数据
     * @return
     */
    @GetMapping("/block")
    ResponseResult<?> getStockBlockInfo();

    /**
     *  获取内盘实时数据
     * @return
     */
    @GetMapping("/index")
    ResponseResult<?> getInnerMarketInfo();

}
